<?php
declare (strict_types = 1);

namespace app\common\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class Matches extends BaseModel
{
    //

    public function liveConfig()  {
        
        return $this->hasOne(MatchesLiveConfig::class, 'foreign_key_id');
    }

    public function mtchesLineup(){
        return $this->hasOne(MatchesLineup::class, 'foreign_key_id');
    }

    public function odd()  {
        return $this->hasOne(MatchesOdds::class, 'foreign_key_id');
    }


    public function analysis()  {
        return $this->hasOne(MatchesAnalysis::class, 'foreign_key_id');
    }
}
